package com.cskaoyan.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Goods {
    private Integer id;

    private String goodsSn;

    private String name;

    private Integer categoryId;

    private Integer brandId;

    private String[] gallery;

    private String keywords;

    private String brief;

    private Boolean isOnSale;

    private Short sortOrder;

    private String picUrl;

    private String shareUrl;

    private Boolean isNew;

    private Boolean isHot;

    private String unit;

    private BigDecimal counterPrice;

    private BigDecimal retailPrice;

    private Date addTime;

    private Date updateTime;

    private Boolean deleted;

    private String detail;


//    public Goods(String picUrl, String gallery, String goodsSn, String name, BigDecimal counterPrice, BigDecimal retailPrice,
//                 Boolean isNew, Boolean isHot, Boolean isOnSale, String unit, String keywords, Integer categoryId,
//                 String brief) {
//        this.picUrl = picUrl;
//        this.gallery = gallery;
//        this.goodsSn = goodsSn;
//        this.name = name;
//        this.counterPrice = counterPrice;
//        this.retailPrice = retailPrice;
//        this.isNew = isNew;
//        this.isHot = isHot;
//        this.isOnSale = isOnSale;
//        this.unit = unit;
//        this.keywords = keywords;
//        this.categoryId = categoryId;
//        this.brief = brief;
//    }

}